home *** CD-ROM | disk | FTP | other *** search
- (c) 1990 S.Hawtin.
- Permission is granted to copy this file provided
- 1) It is not used for commercial gain
- 2) This notice is included in all copies
- 3) Altered copies are marked as such
-
- No liability is accepted for the contents of the file.
-
-
- CRender: Example program in NorthC 1.3
-
- This directory contains a simple three-dimensional rendering program,
- the subdirectory "objects" contains the description files for a set of
- objects the program "CRender" displays them.
-
- NOTE To make the program in this directory you will have to have a set of
- Amiga include files. See the documentation on the other disk for how to
- get hold of them.
-
- To display the object pass it as an argument to the "CRender" program,
- for example to display the "cube" object you should type
-
- CRender objects/cube.dat
-
- after a short delay the program will start to slowly spin the object on
- the screen.
-
- The set of objects that have been created so far are
-
- ball.dat
- tetra.dat
- oct.dat
- boat.dat
- cube.dat
- try.dat
-
- the only complex one is "boat.dat", notice that the pattern on the sail
- looks different from each side.
-
- The program uses a simple requester to control the view of the object,
- and uses matrix manipulation to display the solid object.
-
- This program is provided as an example of a non trivial program to steal
- ideas from, as such I have attempted to provide more documentation than
- would otherwise be the case. The documentation outlines the theory behind
- the program rather than the fine details, those can be obtained from a
- study of the code.
-
- There are two documentation files
-
- Makefile.doc - the Makefile
- render.doc - the render.c file
- aif.doc - the aif.c file
-
- if you think I cannot count you have not read "aif.doc".
-